package com.itheima.day5.test1;

public class WashingMachine extends BaseController{
    private String type;
    private String capacity;

    public WashingMachine() {
    }

    public WashingMachine(String brand, String model, String color, String price, String type, String capacity) {
        super(brand, model, color, price);
        this.type = type;
        this.capacity = capacity;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getCapacity() {
        return capacity;
    }

    public void setCapacity(String capacity) {
        this.capacity = capacity;
    }

    @Override
    public String toString() {
        return "WashingMachine{" +
                "type='" + type + '\'' +
                ", capacity='" + capacity + '\'' +
                '}';
    }
}
